<template>
  <div id="app">
    <img alt="Vue logo" src="./assets/logo.png" ref="logo">
    <!-- 使用冒号表示""里面使用的是表达式，如果没有使用冒号v-bind,则为字符串 -->
    <Student name="张三" sex="男" :age="18"></Student>
  </div>
</template>

<script>

import Student from './components/Student'
export default {
  name: 'App',
  components: {
    Student
  }
}
</script>

<style>
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
  margin-top: 60px;
}
</style>
